package com.wuwei.jy.Service;

import com.wuwei.jy.dao.g.UserMapper;
import com.wuwei.jy.domain.g.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class NewsSv {
	private UserMapper userMapper;
//
//	public User GetById(Integer id) {
//		User obj = userMapper.selectByPrimaryKey(id);
//		return obj;
//	}
//
//	public NewsMapper getNewsMapper() {
//		return newsMapper;
//	}
//
//	@Autowired
//	public void setNewsMapper(NewsMapper newsMapper) {
//		this.newsMapper = newsMapper;
//	}

}
